package com.homeinns.model;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

@XmlRootElement(name="hotelRm")
@JsonIgnoreProperties({ "rmTotal","crsRoomNum","usedRoomNum","rmLockFlag","limitNum" }) //for debug you can disable ignor
public class HotelRm {

	private String hotelCd;
	private String rmTypeCd;
	private int rmTotal;
	private String hoteldate;
	private int crsRoomNum;
	private int usedRoomNum;
	private String rmLockFlag;
	private int limitNum;
	private int result;
	
	public String getHotelCd() {
		return hotelCd;
	}
	public void setHotelCd(String hotelCd) {
		this.hotelCd = hotelCd;
	}
	public String getRmTypeCd() {
		return rmTypeCd;
	}
	public void setRmTypeCd(String rmTypeCd) {
		this.rmTypeCd = rmTypeCd;
	}
	
	@XmlTransient
	public int getRmTotal() {
		return rmTotal;
	}
	public void setRmTotal(int rmTotal) {
		this.rmTotal = rmTotal;
	}
	public String getHoteldate() {
		return hoteldate;
	}
	public void setHoteldate(String hoteldate) {
		this.hoteldate = hoteldate;
	}
	@XmlTransient
	public int getCrsRoomNum() {
		return crsRoomNum;
	}
	public void setCrsRoomNum(int crsRoomNum) {
		this.crsRoomNum = crsRoomNum;
	}
	@XmlTransient
	public int getUsedRoomNum() {
		return usedRoomNum;
	}
	public void setUsedRoomNum(int usedRoomNum) {
		this.usedRoomNum = usedRoomNum;
	}
	@XmlTransient
	public String getRmLockFlag() {
		return rmLockFlag;
	}
	public void setRmLockFlag(String rmLockFlag) {
		this.rmLockFlag = rmLockFlag;
	}
	@XmlTransient
	public int getLimitNum() {
		return limitNum;
	}
	public void setLimitNum(int limitNum) {
		this.limitNum = limitNum;
	}
	public int getResult() {
		return result;
	}
	public void setResult(int result) {
		this.result = result;
	}
}
